首页> 外文OA文献 >A Computational Interpretation of Context-Free Expressions
【2h】

A Computational Interpretation of Context-Free Expressions

机译:无上下文表达式的计算解释

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

We phrase parsing with context-free expressions as a type inhabitationproblem where values are parse trees and types are context-free expressions. Wefirst show how containment among context-free and regular expressions can bereduced to a reachability problem by using a canonical representation ofstates. The proofs-as-programs principle yields a computational interpretationof the reachability problem in terms of a coercion that transforms the parsetree for a context-free expression into a parse tree for a regular expression.It also yields a partial coercion from regular parse trees to context-freeones. The partial coercion from the trivial language of all words to acontext-free expression corresponds to a predictive parser for the expression.
机译:我们将与上下文无关的表达式的短语解释为一种类型居住问题,其中值是解析树,而类型是上下文无关的表达式。我们首先展示如何通过使用状态的规范表示将上下文无关和正则表达式之间的包含减少为可及性问题。程序证明(Proofs-of-programs)原理以强制性的方式对可到达性问题进行了计算解释,该强制性将无上下文表达式的分析树转换为正则表达式的分析树,还产生了从常规分析树到上下文的部分强制性-freeones。从所有单词的琐碎语言到无上下文表达的部分强制相当于该表达的预测解析器。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号